/* Class14_Sub17 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */

public class Class14_Sub17 extends Class14
{
    public static Class87 aClass87_3004;
    public static int anInt3005;
    public static Class124 aClass124_3006
	= Class14_Sub2_Sub2.method263(1178, "May");
    public static int anInt3007;
    public static Class124 aClass124_3008;
    public static Class124 aClass124_3009;
    public static Class124 aClass124_3010
	= Class14_Sub2_Sub2.method263(1178, "Sep");
    public byte[] aByteArray3011;
    public static int anInt3012;
    public static int anInt3013;
    public static Class124 aClass124_3014;
    public static Class124 aClass124_3015;
    public static Class124 aClass124_3016;
    public static Class124 aClass124_3017;
    public static Class20 aClass20_3018;
    public static Class124 aClass124_3019;
    public static int anInt3020;
    public static Class9_Sub1 aClass9_Sub1_3021;
    public static Class124 aClass124_3022;
    public static float aFloat3023;
    public static Class124 aClass124_3024;
    public static Class124[] aClass124Array3025;
    public static Class124 aClass124_3026;
    public static Class124 aClass124_3027;
    public static Class124 aClass124_3028;
    public static Class124 aClass124_3029;
    public static int anInt3030;
    public static Class124 aClass124_3031;
    public static int anInt3032;
    public static Class124 aClass124_3033;
    public static Class9 aClass9_3034;
    
    public static Class14_Sub2_Sub19_Sub1[] method878(byte arg0) {
    while_600_:
	do {
	    do {
		Class14_Sub2_Sub19_Sub1[] class14_sub2_sub19_sub1s;
		try {
		    anInt3013++;
		    if (arg0 <= -104)
			break;
		    class14_sub2_sub19_sub1s = null;
		} catch (RuntimeException runtimeexception) {
		    break while_600_;
		}
		return class14_sub2_sub19_sub1s;
	    } while (false);
	    Class14_Sub2_Sub19_Sub1[] class14_sub2_sub19_sub1s;
	    try {
		Class14_Sub2_Sub19_Sub1[] class14_sub2_sub19_sub1s_0_
		    = new Class14_Sub2_Sub19_Sub1[Class32.anInt547];
		for (int i = 0; i < Class32.anInt547; i++) {
		    byte[] is = Class12.aByteArrayArray310[i];
		    int i_1_
			= Class76.anIntArray1204[i] * Class17.anIntArray402[i];
		    int[] is_2_ = new int[i_1_];
		    for (int i_3_ = 0; i_3_ < i_1_; i_3_++)
			is_2_[i_3_]
			    = (Class73.anIntArray1114
			       [Class14_Sub8_Sub26.method617(255, is[i_3_])]);
		    class14_sub2_sub19_sub1s_0_[i]
			= new Class14_Sub2_Sub19_Sub1(Class14_Sub11.anInt2952,
						      Class14_Sub30.anInt3279,
						      Class40.anIntArray675[i],
						      (Class14_Sub2_Sub12
						       .anIntArray3918[i]),
						      Class17.anIntArray402[i],
						      (Class76.anIntArray1204
						       [i]),
						      is_2_);
		}
		Class129.method1761((byte) 123);
		class14_sub2_sub19_sub1s = class14_sub2_sub19_sub1s_0_;
	    } catch (RuntimeException runtimeexception) {
		break;
	    }
	    return class14_sub2_sub19_sub1s;
	} while (false);
	Throwable throwable = new Throwable();
	throw Class14_Sub8_Sub14.method554(throwable, "nd.D(" + arg0 + ')');
    }
    
    public static void method879(int arg0, int arg1, int arg2, int arg3,
				 int arg4, int arg5, int arg6) {
	try {
	    anInt3030++;
	    int i = arg4 + arg0;
	    int i_4_ = -arg4 + arg3;
	    int i_5_ = arg4 + arg6;
	    for (int i_6_ = arg0; (i_6_ ^ 0xffffffff) > (i ^ 0xffffffff);
		 i_6_++)
		Class51.method1201((Class14_Sub2_Sub19.anIntArrayArray4038
				    [i_6_]),
				   arg6, arg5, -5973, arg1);
	    if (arg2 != 255)
		method878((byte) 127);
	    int i_7_ = arg5 - arg4;
	    for (int i_8_ = arg3; i_4_ < i_8_; i_8_--)
		Class51.method1201((Class14_Sub2_Sub19.anIntArrayArray4038
				    [i_8_]),
				   arg6, arg5, -5973, arg1);
	    for (int i_9_ = i; (i_4_ ^ 0xffffffff) <= (i_9_ ^ 0xffffffff);
		 i_9_++) {
		int[] is = Class14_Sub2_Sub19.anIntArrayArray4038[i_9_];
		Class51.method1201(is, arg6, i_5_, arg2 ^ ~0x17ab, arg1);
		Class51.method1201(is, i_7_, arg5, -5973, arg1);
	    }
	} catch (RuntimeException runtimeexception) {
	    throw Class14_Sub8_Sub14.method554(runtimeexception,
					       ("nd.C(" + arg0 + ',' + arg1
						+ ',' + arg2 + ',' + arg3 + ','
						+ arg4 + ',' + arg5 + ','
						+ arg6 + ')'));
	}
    }
    
    public static void method880(int arg0) {
	try {
	    aClass87_3004 = null;
	    aClass124_3024 = null;
	    if (arg0 != 1)
		method879(-24, 21, 8, 58, -53, -45, 96);
	    aClass20_3018 = null;
	    aClass124_3010 = null;
	    aClass9_3034 = null;
	    aClass124_3026 = null;
	    aClass124_3009 = null;
	    aClass124_3027 = null;
	    aClass124_3014 = null;
	    aClass124_3028 = null;
	    aClass124_3008 = null;
	    aClass124_3017 = null;
	    aClass124_3019 = null;
	    aClass124_3031 = null;
	    aClass124_3022 = null;
	    aClass124_3033 = null;
	    aClass124Array3025 = null;
	    aClass124_3029 = null;
	    aClass124_3006 = null;
	    aClass124_3016 = null;
	    aClass124_3015 = null;
	    aClass9_Sub1_3021 = null;
	} catch (RuntimeException runtimeexception) {
	    throw Class14_Sub8_Sub14.method554(runtimeexception,
					       "nd.B(" + arg0 + ')');
	}
    }
    
    public static int method881
	(int arg0, int arg1, Class14_Sub27 arg2, byte arg3, int arg4, int arg5,
	 int arg6, boolean arg7, float[][] arg8, float[][] arg9, int arg10,
	 int arg11, float[][] arg12, int[][] arg13, float arg14, int[][] arg15,
	 int arg16, int arg17) {
    while_601_:
	do {
	    float f;
	    int i;
	    float f_10_;
	    float f_11_;
	    do {
		int i_12_;
		try {
		    anInt3007++;
		    if (1 != arg6) {
			if ((arg6 ^ 0xffffffff) == -3) {
			    arg10 = -arg10 + 128;
			    arg17 = -arg17 + 128;
			} else if (-4 == (arg6 ^ 0xffffffff)) {
			    int i_13_ = arg17;
			    arg17 = 128 - arg10;
			    arg10 = i_13_;
			}
		    } else {
			int i_14_ = arg17;
			arg17 = arg10;
			arg10 = 128 - i_14_;
		    }
		    if (-1 == (arg17 ^ 0xffffffff)
			&& (arg10 ^ 0xffffffff) == -1) {
			f = arg8[arg16][arg11];
			i = arg5;
			f_10_ = arg12[arg16][arg11];
			f_11_ = arg9[arg16][arg11];
		    } else if (arg17 != 128 || (arg10 ^ 0xffffffff) != -1) {
			if (128 == arg17 && -129 == (arg10 ^ 0xffffffff)) {
			    i = arg1;
			    f_10_ = arg12[arg16 + 1][arg11 - -1];
			    f_11_ = arg9[1 + arg16][1 + arg11];
			    f = arg8[arg16 + 1][arg11 + 1];
			} else if (-1 != (arg17 ^ 0xffffffff)
				   || 128 != arg10) {
			    f_10_ = arg12[arg16][arg11];
			    float f_15_ = (float) arg17 / 128.0F;
			    f_11_ = arg9[arg16][arg11];
			    f_10_
				+= f_15_ * (-f_10_ + arg12[1 + arg16][arg11]);
			    float f_16_ = (float) arg10 / 128.0F;
			    float f_17_ = arg12[arg16][1 + arg11];
			    f = arg8[arg16][arg11];
			    f_11_ += f_15_ * (arg9[1 + arg16][arg11] - f_11_);
			    float f_18_ = arg9[arg16][arg11 - -1];
			    f += f_15_ * (-f + arg8[1 + arg16][arg11]);
			    f_18_ += f_15_ * (-f_18_
					      + arg9[1 + arg16][1 + arg11]);
			    f_17_ += f_15_ * (-f_17_
					      + arg12[1 + arg16][1 + arg11]);
			    f_10_ += (f_17_ - f_10_) * f_16_;
			    f_11_ += (f_18_ - f_11_) * f_16_;
			    float f_19_ = arg8[arg16][1 + arg11];
			    f_19_ += ((-f_19_ + arg8[1 + arg16][arg11 + 1])
				      * f_15_);
			    int i_20_ = Class14_Sub3.method450(5030, arg4,
							       arg17, arg5);
			    int i_21_ = Class14_Sub3.method450(5030, arg1,
							       arg17, arg0);
			    f += f_16_ * (f_19_ - f);
			    i = Class14_Sub3.method450(5030, i_21_, arg10,
						       i_20_);
			} else {
			    f_11_ = arg9[arg16][1 + arg11];
			    f_10_ = arg12[arg16][arg11 + 1];
			    f = arg8[arg16][arg11 + 1];
			    i = arg0;
			}
		    } else {
			f = arg8[arg16 + 1][arg11];
			f_11_ = arg9[1 + arg16][arg11];
			f_10_ = arg12[1 + arg16][arg11];
			i = arg4;
		    }
		    if (arg3 == 12)
			break;
		    i_12_ = -22;
		} catch (RuntimeException runtimeexception) {
		    break while_601_;
		}
		return i_12_;
	    } while (false);
	    int i_22_;
	    try {
		int i_23_
		    = Class14_Sub8_Sub31.method647(arg11, -501955161, arg17,
						   arg10, arg15, arg16);
		int i_24_ = (arg11 << 1185650695) - -arg10;
		int i_25_ = (arg16 << 1818017255) + arg17;
		i_22_ = arg2.method921(i_25_, i_23_, i_24_, f_10_, f_11_, f,
				       arg7 ? i & ~0xff : i,
				       (arg13 == null ? 0.0F
					: (float) (i_23_
						   + -(Class14_Sub8_Sub31
							   .method647
						       (arg11,
							arg3 ^ ~0x1deb3a54,
							arg17, arg10, arg13,
							arg16))) / arg14));
	    } catch (RuntimeException runtimeexception) {
		break;
	    }
	    return i_22_;
	} while (false);
	Throwable throwable = new Throwable();
	throw Class14_Sub8_Sub14.method554
		  (throwable,
		   ("nd.A(" + arg0 + ',' + arg1 + ','
		    + (arg2 != null ? "{...}" : "null") + ',' + arg3 + ','
		    + arg4 + ',' + arg5 + ',' + arg6 + ',' + arg7 + ','
		    + (arg8 != null ? "{...}" : "null") + ','
		    + (arg9 != null ? "{...}" : "null") + ',' + arg10 + ','
		    + arg11 + ',' + (arg12 != null ? "{...}" : "null") + ','
		    + (arg13 != null ? "{...}" : "null") + ',' + arg14 + ','
		    + (arg15 != null ? "{...}" : "null") + ',' + arg16 + ','
		    + arg17 + ')'));
    }
    
    public Class14_Sub17(byte[] arg0) {
	try {
	    aByteArray3011 = arg0;
	} catch (RuntimeException runtimeexception) {
	    throw Class14_Sub8_Sub14.method554(runtimeexception,
					       ("nd.<init>("
						+ (arg0 != null ? "{...}"
						   : "null")
						+ ')'));
	}
    }
    
    static {
	anInt3005 = 0;
	aClass124_3015 = Class14_Sub2_Sub2.method263(1178, "Aug");
	aClass124_3019
	    = Class14_Sub2_Sub2.method263(1178, "Clientscript error in: ");
	aClass124_3008 = Class14_Sub2_Sub2.method263(1178, "Nov");
	anInt3020 = 0;
	aClass124_3016 = Class14_Sub2_Sub2.method263(1178, "Oct");
	aClass124_3009 = Class14_Sub2_Sub2.method263(1178, "Apr");
	aClass124_3024 = Class14_Sub2_Sub2.method263(1178, "Dec");
	aClass124_3027 = Class14_Sub2_Sub2.method263(1178, "Jun");
	aClass124_3014 = Class14_Sub2_Sub2.method263(1178, ")4g");
	aClass124_3029 = Class14_Sub2_Sub2.method263(1178, "Jul");
	aClass124_3028
	    = Class14_Sub2_Sub2.method263(1178, "Loading interfaces )2 ");
	aClass124_3022 = Class14_Sub2_Sub2.method263(1178, "Feb");
	aClass124_3017 = Class14_Sub2_Sub2.method263(1178, "Jan");
	anInt3012 = 0;
	aClass124_3031 = Class14_Sub2_Sub2.method263(1178, "Mar");
	aClass124_3026 = Class14_Sub2_Sub2.method263(1178, "<col=00ff80>");
	aClass124_3033 = aClass124_3028;
	aClass124Array3025
	    = new Class124[] { aClass124_3017, aClass124_3022, aClass124_3031,
			       aClass124_3009, aClass124_3006, aClass124_3027,
			       aClass124_3029, aClass124_3015, aClass124_3010,
			       aClass124_3016, aClass124_3008,
			       aClass124_3024 };
	aClass20_3018 = new Class20(64);
    }
}
